package com.ruoyi.admin.model.request;

import com.ruoyi.admin.model.response.PaperDetailResp;
import lombok.Data;

import java.util.List;

@Data
public class PaperReq {

    //试卷名称
    private String paperName;
    /**
     * 试卷类型
     * 0:练习题
     * 1:课后练习
     * 2:考试测评
     */

    private Integer paperType;
    //试卷状态
    private Integer paperStatus;
    //倒计时
    private Integer countdown;

    private List<ModuleDTO> moduleList;

    @Data
    public static class ModuleDTO {

        /**
         * 模块类型
         * 0:听力
         * 1:阅读
         * 2:口语
         * 3:写作
         */
        private Integer moduleType;
        //模块名称
        private String moduleName;

        private List<TopicDTO> topicList;
    }

    @Data
    public static class TopicDTO {
        //题目
        private String topic;
        //题目内容
        private String content;

        private List<QuestionReq> questionList;
    }
}
